﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using QuanCafe.DataLayer;
using QuanCafe.BusinessLayer;

namespace QuanCafe.ucontrol
{
    public partial class frmManageSummary : System.Web.UI.UserControl
    {
        public string strChuDeTin = "";
        public string strTin = "";
        public string strLienHeT = "";//Tong
        public string strLienHeCX = "";//Chua Xem
        public string strLienHeDX = "";//Da Xem

        public string strXetTuyenT = "";//Tong
        public string strXetTuyenCX = "";//Chua Xem
        public string strXetTuyenDX = "";//Da Xem

        public string strDNThamGiaT = "";//Tong
        public string strDNThamGiaCX = "";//Chua Xem
        public string strDNThamGiaDX = "";//Da Xem

        public string strTuyenDungCX = "";//Chua xem
        public string strTuyenDungDX = "";//Da xem
        public string strTuyendungX = "";//Xoa
        public string strTuyenDungT = "";//Tong
        public string strTuyenDungDB = "";//Dac biet
        public string strTuyenDungKDB = "";//Khong dac biet
        public string strTuyenDungX = "";//Xoa


        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dtb;
            QuanCafe.BusinessLayer.Summary Summary = new QuanCafe.BusinessLayer.Summary();
            dtb = Summary.GetAll();
            if (dtb != null)
            {
                DataRow dr;
                dr = dtb.Rows[0];
                strChuDeTin = dr["ChuDeTin"].ToString();
                strTin = dr["Tin"].ToString();

                /*strLienHeT = dr["LienHeT"].ToString();//Tong
                strLienHeCX = dr["LienHeCX"].ToString();//Chua Xem
                strLienHeDX = dr["LienHeDX"].ToString();//Da Xem

                strXetTuyenT = dr["XetTuyenT"].ToString();//Tong
                strXetTuyenCX = dr["XetTuyenCX"].ToString();//Chua Xem
                strXetTuyenDX = dr["XetTuyenDX"].ToString();//Da Xem

                strDNThamGiaT = dr["DNThamGiaT"].ToString();//Tong
                strDNThamGiaCX = dr["DNThamGiaCX"].ToString();//Chua Xem
                strDNThamGiaDX = dr["DNThamGiaDX"].ToString();//Da Xem


                strTuyenDungT = dr["TuyenDung"].ToString();//Tong
                strTuyenDungCX=dr["TuyenDungCX"].ToString();//Chua xem
                strTuyenDungDX = dr["TuyenDungDX"].ToString();//Da xem
                strTuyenDungDB = dr["TuyenDungDB"].ToString();//Dac biet
                strTuyenDungKDB = dr["TuyenDungKDB"].ToString();//
                */
            }
        }
    }
}